package com.gametheoryserver.gui.comb.action;

import com.gametheoryserver.gui.comb.PlayGame;
import com.gametheoryserver.gui.comb.state.PlayWindowStateHolder;
import com.vaadin.ui.Button.ClickEvent;

/**
 * @author Tomas Barak
 * 
 */
public class ComputerOneAction extends AbstractPlayAction {

	public ComputerOneAction(PlayGame playWindow) {
		super(playWindow);
	}

	@Override
	public void buttonClick(ClickEvent event) {
		PlayWindowStateHolder.setState(
				PlayWindowStateHolder.COMPUTER_ONE_STATE, super.playWindow);
	}

}
